package model

import "github.com/zeromicro/go-zero/core/stores/sqlx"

var ErrNotFound = sqlx.ErrNotFound

const (
	ORDER_TYPE_VIP   int = 1
	ORDER_TYPE_GOODS int = 2
)

// 支付状态
const (
	OrderStatusWait          = 0 //待支付
	OrderStatusSuccess       = 1 //支付成功
	OrderStatusFAIL          = 2 //支付失败
	OrderStatusClose         = 3 // 关闭订单
	OrderStatusRefundProcess = 4 //退款中
	OrderStatusRefundSuccess = 5 // 退款成功
	OrderStatusRefundFail    = 6 // 退款失败
)
